package com.itheima.demo7_super关键字.p02修饰方法;

public class Test {
    public static void main(String[] args) {
        Zi zi = new Zi();
        zi.method();
        zi.show();
    }
}
class Fu{
    public void method() {
        System.out.println("Fu method");
    }
}
class Zi extends Fu{
    public void method() {
        System.out.println("Zi method");
    }
    public void show() {
        super.method();
    }
}